<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
    
    
<div id="login-form-wrapper">
<form:form action="login.htm" method="post" commandName="loginForm">
	<div id="login-form-row">
		<div id="login-form-col-lbl"><fmt:message key="loginForm.label.userName"/></div>
		<div id="login-form-col-input">
			<!-- <input type="text" class="login-form-input"> -->
			<form:input path="userName" cssClass="login-form-input"/>
		</div>
	</div>	
	<div id="login-form-row">
		<div id="login-form-col-lbl"><fmt:message key="loginForm.label.password"/></div>
		<div id="login-form-col-input">
			<!-- <input type="password" class="login-form-input"> -->
			<form:input path="password" cssClass="login-form-input"/>
		</div>
	</div>
	<div id="login-form-row">
		<div id="login-form-col-lbl">&nbsp;</div>
		<div id="login-form-col-input">
			<!-- <input type="checkbox" value="R" > -->
			<form:checkbox path="rememberMe" value="false"/>
			<label><fmt:message key="loginForm.label.remember.me"/></label>
		</div>
	</div>
	<div id="login-form-row">
		<div id="login-form-col-lbl">
			&nbsp;
		</div>
		<div id="login-form-col-input">
			<!-- <input type="button" class="blueButton"  value="Login"> -->
			<button id="login-button"><fmt:message key="loginForm.btn.login"/></button>
		</div>
	</div>
	<div id="login-form-row">
		<strong>Note: </strong>The 'User Name' is same as the Email ID used for registration.
	</div>
	<div id="login-form-row">
		<div id="login-form-col-lbl">
			&nbsp;
		</div>
		<div id="login-form-col-lbl">
			<a href="#"><fmt:message key="loginForm.label.forgot.pass"/></a>
		</div>
	</div>
	<div id="login-form-row">
		<div id="login-form-col-lbl">
			Not a User??? &nbsp; Register 
		</div>
		<div id="login-form-col-lbl">
			<a href="#">HERE</a>
		</div>
	</div>
	
	<div class="ui-widget">
		<form:errors path="userName" />
		<form:errors path="password" />
	</div>
</form:form>
</div>